make row readonly tablewidget pyqt

34

item = QTableWidgetItem()
item.setFlags(item.flags() ^ Qt.ItemIsEditable)
tableName.setItem(row, column, item)

Comments

Submit
0 Comments